<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title><?php echo ($Conf['title']); ?></title>
    <link rel="icon" type="text/css" href="icon.ico" />
    <link rel="stylesheet" type="text/css" href="/laoshiketang/shop-360/Public/home/css/index.css" />
    <link rel="stylesheet" type="text/css" href="/laoshiketang/shop-360/Public/home/css/account.css"/>
    <link rel="stylesheet" href="/laoshiketang/shop-360/Public/Home/css/qikoo_shop_new.css">
    <link rel="stylesheet" href="/laoshiketang/shop-360/Public/Home/css/qikoo_user.css">
    <script src="/laoshiketang/shop-360/Public/home/js/jquery-1.10.1.min.js" type="text/javascript" charset="utf-8"></script>
    <script src="/laoshiketang/shop-360/Public/Home/layer-v3.0.3/layer/layer.js"></script>

    <script src="/laoshiketang/shop-360/Public/Home/js/area.js" type="text/javascript" charset="utf-8"></script>

    <script src="/laoshiketang/shop-360/Public/Home/js/1102.js"></script>

    <script>
        var  url="<?php echo U('ajaxEdit');?>";
        var reduceUrl="<?php echo u('ajaxReduce');?>";
        var dataUrl="<?php echo u('ajaxData');?>"
    </script>
    <?php foreach($Conf['js'] as $v){?>
    <script src="/laoshiketang/shop-360/Public/home/js/<?php echo $v?>.js" type="text/javascript" charset="utf-8"></script>
    <?php } ?>


</head>

<body>
<!--头部开始-->
<div id="top">
    <!--头部灰条就开始-->
    <div class="topbox">
        <div class="main">
            <div class="topleft fl">
                <a href="<?php echo u('home/index/index');?>">欢迎来到360商城</a>

                <a href="#" class='last'><i></i>手机商城</a>
            </div>
            <div class="topright fr">
                <div class="login fl">
                    <a href="<?php echo u('home/login/index');?>">登录</a>
                    <a href="<?php echo u('home/reg/index');?>">注册</a>
                </div>
                <span class="fl">|</span>
                <div class="fcode fl">

                    <a href="<?php echo u('home/order/index');?>">我的订单</a>
                </div>
            </div>
        </div>
    </div>
    <!--头部灰条结束-->

    <!--logo区域开始-->
    <div class="logoRegion">
        <div class="main">
            <div class="logo">
                <a href=""><img src="/laoshiketang/shop-360/Public/Home/images/360logo.png"/></a>
            </div>
            <div class="seachRegion">
                <div class="seach fl">
                    <form action="" method="post">
                        <input type="text" class="seachtxt fl" value="O2+车载空气净化" />
                        <input type="submit" class="btn" value="" />
                    </form>
                    <p class="searchkey">
                        <a href="">电竞配件低至5折</a>

                    </p>

                </div>
                <div class="topshopcart fr">
                    <a href="" class="header-cart"><i></i>我的购物车<span class="cart-size">(<?php echo ($sessinData['total_rows']); ?>)</span></a>
                      <div class="cart-tips" style="width: 308px;">
                            <div class="cart-info" >

                                <!--//京东偷得购物车-->

                                <!--购物车-->
                                <style>
                                    .dorpdown-layer{
                                        display: block;
                                        width: 308px;
                                        background: #fff;

                                    }

                                    .smc {
                                        background: #fff;
                                        height: auto!important;
                                        height: 344px;
                                        max-height: 344px;
                                        overflow-y: auto;
                                    }
                                    .mcart-sigle{
                                        margin: 0;
                                        padding:0;

                                        border-bottom: 1px dotted #ccc;
                                        overflow: hidden;
                                        line-height: 17px;
                                        vertical-align: bottom;

                                    }
                                    .mcart-sigle li {
                                        padding: 8px 10px;

                                        overflow: hidden;
                                        line-height: 17px;
                                        vertical-align: bottom;
                                    }
                                    .p-img {

                                        float: left;
                                        width: 50px;
                                        height: 50px;
                                        border: 1px solid #ddd;
                                        padding: 0;
                                        margin-right: 10px;
                                        font-size: 0;
                                    }
                                    .p-name {
                                        display: block;
                                        float: left;
                                        font-size: 12px;
                                        color: #000;
                                        width: 120px;
                                        overflow: hidden;
                                    }

                                    .p-price strong {
                                        color: #e4393c;
                                        font-size: 14px;
                                        font-family: Verdana;
                                    }

                                    .p-detail{

                                        width: 100px;
                                        float: right;
                                    }
                                    .p-name{
                                        text-align: left;
                                    }
                                    .p-name a{
                                        color: #666;
                                    }
                                    .p-name span{
                                        color: #ccc;
                                    }
                                    .p-detail a.delete{

                                        display: block;
                                        text-align: right;
                                        padding-right: 20px;
                                        padding-top: 10px;
                                        font-size: 12px;
                                        text-decoration: none;
                                        color: #666;

                                    }

                                    .p-total{

                                        line-height: 29px;
                                        font-size: 12px;
                                        float: left;
                                        line-height: 29px;
                                        padding: 5px 15px;
                                    }
                                    .shopcart a{
                                        display: block;
                                        float: right;
                                        height: 29px;
                                        color: #fff;
                                        padding: 0 10px;
                                        background: #E4393C;
                                        font-weight: 700;
                                        line-height: 29px;
                                        font-size: 12px;
                                        text-decoration: none;
                                        margin: 5px 10px;
                                        border-radius: 3px;

                                    }

                                </style>


                                <div class="dorpdown-layer">
                                    <div class="spacer"></div>
                                    <div id="settleup-content">



                                        <?php if(is_array($sessinData[goods])): foreach($sessinData[goods] as $k=>$vo): ?><ul class="mcart-sigle">
                                                <li>
                                                    <div class="p-img">
                                                        <a href="" target="_blank">
                                                            <img src="/laoshiketang/shop-360/<?php echo ($vo['options']['img']); ?>" width="50" height="50" alt="">
                                                        </a>
                                                    </div>
                                                    <div class="p-name">
                                                        <a href="" ><?php echo ($vo['name']); ?></a>
                                                        <?php if(is_array($vo['options']['options'])): foreach($vo['options']['options'] as $kk=>$v): ?><span><?php echo ($kk); ?>：<?php echo ($v); ?></span>&nbsp;&nbsp;<?php endforeach; endif; ?>
                                                    </div>
                                                    <div class="p-detail">
                                               <span class="p-price">
                                               <strong>￥<?php echo ($vo['price']); ?></strong>×<?php echo ($vo['num']); ?></span>
                                                        <a href="" class="delete">删除</a>

                                                    </div>
                                                </li>
                                            </ul><?php endforeach; endif; ?>
                                        <div class="smc">
                                            <div class="smb">
                                                <div class="p-total">共<b><?php echo ($sessinData['total_rows']); ?></b>件商品　
                                                    共计<strong>￥<?php echo ($sessinData['total']); ?></strong></div>
                                            </div>
                                            <div class="shopcart">
                                                <a href="<?php echo u('Home/Cart/index');?>" title="去购物车" id="btn-payforgoods">去购物车</a>
                                            </div>
                                        </div>

                                    </div>
                                </div>


                                <!--购物车-->



























                            </div>
                    </div>
                </div>
            </div>

        </div>
    </div>
    <!--logo区域结束-->
    <!--导航开始-->
    <div class="navbox">
        <div class="main">
            <h5 class="fl"><a href=""><i></i>全部智能酷品</a></h5>
            <ul class="menu fl">
                <li class="menulist">
                    <a href="list.html">手机</a>
                    <div class="menuHiden">

                        <ul class="product">

                            <li>
                                <a href=""><img src="/laoshiketang/shop-360/Public/Home/images/right.png" alt="" /></li>
                            <li><img src="/laoshiketang/shop-360/Public/Home/images/right.png" alt="" /></a>
                            </li>
                            <li>
                                <a href=""><img src="/laoshiketang/shop-360/Public/Home/images/right.png" alt="" /></li>
                            <li><img src="/laoshiketang/shop-360/Public/Home/images/right.png" alt="" /></a>
                            </li>
                            <li>
                                <a href=""><img src="/laoshiketang/shop-360/Public/Home/images/right.png" alt="" /></li>
                            <li><img src="/laoshiketang/shop-360/Public/Home/images/right.png" alt="" /></a>
                            </li>

                        </ul>

                    </div>
                </li>
                <li class="menulist">
                    <a href="list.html">行车记录仪</a>
                    <div class="menuHiden">
                        <ul class="product">

                            <li>
                                <a href=""><img src="/laoshiketang/shop-360/Public/Home/images/right.png" alt="" /></li>
                            <li><img src="/laoshiketang/shop-360/Public/Home/images/right.png" alt="" /></a>
                            </li>
                            <li>
                                <a href=""><img src="/laoshiketang/shop-360/Public/Home/images/right.png" alt="" /></li>
                            <li><img src="/laoshiketang/shop-360/Public/Home/images/right.png" alt="" /></a>
                            </li>
                            <li>
                                <a href=""><img src="/laoshiketang/shop-360/Public/Home/images/right.png" alt="" /></li>
                            <li><img src="/laoshiketang/shop-360/Public/Home/images/right.png" alt="" /></a>
                            </li>

                        </ul>
                    </div>
                </li>
                <li class="menulist">
                    <a href="list.html">儿童手表</a>
                    <div class="menuHiden">
                        <ul class="product">

                            <li>
                                <a href=""><img src="/laoshiketang/shop-360/Public/Home/images/right.png" alt="" /></li>
                            <li><img src="/laoshiketang/shop-360/Public/Home/images/right.png" alt="" /></a>
                            </li>
                            <li>
                                <a href=""><img src="/laoshiketang/shop-360/Public/Home/images/right.png" alt="" /></li>
                            <li><img src="/laoshiketang/shop-360/Public/Home/images/right.png" alt="" /></a>
                            </li>
                            <li>
                                <a href=""><img src="/laoshiketang/shop-360/Public/Home/images/right.png" alt="" /></li>
                            <li><img src="/laoshiketang/shop-360/Public/Home/images/right.png" alt="" /></a>
                            </li>

                        </ul>
                    </div>
                </li>
                <li class="menulist">
                    <a href="list.html">摄像机</a>
                    <div class="menuHiden">
                        <ul class="product">

                            <li>
                                <a href=""><img src="/laoshiketang/shop-360/Public/Home/images/right.png" alt="" /></li>
                            <li><img src="/laoshiketang/shop-360/Public/Home/images/right.png" alt="" /></a>
                            </li>
                            <li>
                                <a href=""><img src="/laoshiketang/shop-360/Public/Home/images/right.png" alt="" /></li>
                            <li><img src="/laoshiketang/shop-360/Public/Home/images/right.png" alt="" /></a>
                            </li>
                            <li>
                                <a href=""><img src="/laoshiketang/shop-360/Public/Home/images/right.png" alt="" /></li>
                            <li><img src="/laoshiketang/shop-360/Public/Home/images/right.png" alt="" /></a>
                            </li>

                        </ul>
                    </div>
                </li>
                <li class="menulist">
                    <a href="list.html">路由器</a>
                    <div class="menuHiden">
                        <ul class="product">

                            <li>
                                <a href=""><img src="/laoshiketang/shop-360/Public/Home/images/right.png" alt="" /></li>
                            <li><img src="/laoshiketang/shop-360/Public/Home/images/right.png" alt="" /></a>
                            </li>
                            <li>
                                <a href=""><img src="/laoshiketang/shop-360/Public/Home/images/right.png" alt="" /></li>
                            <li><img src="/laoshiketang/shop-360/Public/Home/images/right.png" alt="" /></a>
                            </li>
                            <li>
                                <a href=""><img src="/laoshiketang/shop-360/Public/Home/images/right.png" alt="" /></li>
                            <li><img src="/laoshiketang/shop-360/Public/Home/images/right.png" alt="" /></a>
                            </li>

                        </ul>
                    </div>
                </li>

            </ul>

        </div>
        <!--从这开始-->
        <?php if(CONTROLLER_NAME=='Index'): ?><div class="main hiden">
                <div class="navHidden">
                    <ul class="list2">
                        <?php $i=0;?>
                        <?php foreach($field as $k=>$v){?>
                        <?php $i++;?>
                        <?php if($i<9){?>
                        <li>
                            <a href="<?php echo u('home/listPage/index',['cid'=>$v['cid']])?>"><i></i><?php echo $v['cname']?></a>
                            <div class="listhide">
                                <div class="contentOne">
                                    <?php foreach($v['_data'] as $kk=>$vv){?>
                                    <dl>
                                        <dt><a href="<?php echo u('home/listPage/index',['cid'=>$vv['cid']])?>" style="padding-left:-30px;"><?php echo $vv['cname']?></a>&gt;</dt>
                                        <?php foreach($vv['_data'] as $kkk=>$vvv){?>
                                        <dd>
                                            <a href="<?php echo u('home/listPage/index',['cid'=>$vvv['cid']])?>" class="noo"><?php echo $vvv['cname']?></a>
                                        </dd>
                                        <?php }?>
                                    </dl>
                                    <?php } ?>
                                </div>
                            </div>
                        </li>
                        <?php } ?>
                        <?php } ?>
                    </ul>
                </div>
                <div class="topad">
                    <div class="righttopad">
                        <a href=""><img src="/laoshiketang/shop-360/Public/Home/images/right.png" /></a>
                    </div>
                    <div class="righttopad">
                        <a href=""><img src="/laoshiketang/shop-360/Public/Home/images/right.png" /></a>
                    </div>
                </div>
            </div><?php endif; ?>
    </div>
    <div class="clear"></div>
    

</div>
<!--头部结束-->
<!--中间开始-->
<div class="body-center">
    <div class="center-content">
        <!--头部开始-->
        <div class="content-header">
            <p>收获地址  <span>温馨提示：为了保证您的权益，防止黄牛倒卖，订单进入正在配货状态将不能修改收货地址和发票信息！</span></p>
        </div>
        <!--头部结束-->
        <!--地址选择开始-->

        <div class="content-address">
            <?php if(is_array($accountsData)): foreach($accountsData as $k=>$v): ?><div class="consignee-item">
                <span class="radio-img "></span>
                <label for="adress1" class="radio">
                    <input type="radio" name="adress" id="adress1" class="radio-select" value=""/><span class="e-name"><?php echo ($v['name']); ?></span>，
                    <span class="city">
                        <span class="province_w"><?php echo ($v['province']); ?></span>&nbsp;
                        <span class="city_w"><?php echo ($v['city']); ?></span>&nbsp;
                        <span class="county_w"><?php echo ($v['county']); ?></span>
                    </span>
                    <span class="city-particular"><?php echo ($v['particular']); ?></span>，<span class="postcode"><?php echo ($v['postcode']); ?></span>,<span class="codeNumber"><?php echo ($v['phone']); ?></span>
                </label>
                <span class="compile"><a class="copyreader" href="javascript:;">编辑</a></span>
                <input type="hidden" id="hidden" value="<?php echo ($v['aid']); ?>">
            </div><?php endforeach; endif; ?>

            <!--添加新地址-->

            <div class="consignee-item new-ress">
                <span class="radio-img"></span>
                <label for="adress3" class="radio"><input type="radio" name="adress" id="adress3" class="radio-select"  value=""/>使用新地址</label>
            </div>
            <!--添加地址框-->
            <div class="add-address new">
                <!--<form action="" method="post">-->
                    <!--<div class="s-name">-->
                        <!--<h3 class="style"><b>*</b>收货人姓名</h3>-->
                        <!--<input type="text" class="public" name="name" id="name" placeholder="收货人姓名" value="" />-->
                    <!--</div>-->
                    <!--<div class="address-s">-->
                        <!--<h3 class="style"><b>*</b>地址</h3>-->


                        <!--&lt;!&ndash;*******************城市联动**************************&ndash;&gt;-->
                        <!--&lt;!&ndash;城市联动&ndash;&gt;-->
                        <!--<select name="province" id="area1"></select>-->
                        <!--<select name="city" id="area2"></select>-->
                        <!--<select name="county" id="area3"></select>-->



                        <!--&lt;!&ndash;城市联动&ndash;&gt;-->
                        <!--&lt;!&ndash;<input type="text" name="name" id="name" placeholder="收货人姓名" value="" />&ndash;&gt;-->
                        <!--<textarea name="particular" placeholder="路名或街道地址，门牌号 " id="particular" rows="" cols=""></textarea>-->
                    <!--</div>-->

                    <!--<div class="postcode">-->
                        <!--<h3 class="style"><b>&nbsp;</b>邮政编码</h3>-->
                        <!--<input type="text" class="public" name="postcode" id="postcode" placeholder="6位邮政编码" value="" />-->
                    <!--</div>-->
                    <!--<div class="shouji">-->
                        <!--<h3 class="style"><b>*</b>手机号码 </h3>-->
                        <!--<input type="text" class="public" name="phone" id="shouji" placeholder="11位手机号码" value="" />-->
                    <!--</div>-->
                    <!--<div class="btn-group">-->
                        <!--<input type="submit"  class="btn" id="btn-bao" value="保存"/>-->
                        <!--<a href="javascript:;" class="btn-qu btn">取消</a>-->
                    <!--</div>-->

                <!--</form>-->
            </div>
            <!--添加地址按钮-->
            <a href="javascript:;" class="new-address"></a>
            <!--添加新地址结束-->


            <!--编辑开始-->
            <div class="add-address edit">
                <form action="<?php echo u('Home/Accounts/ajaxStore');?>" method="post" id="form">
                    <div class="s-name">
                        <h3 class="style"><b>*</b>收货人姓名</h3>
                        <input type="text" class="public" name="name" id="name" placeholder="收货人姓名" value="" />
                    </div>






                    <div class="address-s">
                        <h3 class="style"><b>*</b>地址</h3>

                        <!--城市联动-->
                        <!--<input type="text" name="name" id="name" placeholder="收货人姓名" value="" />-->
                        <!--城市联动-->
                        <script>
                            $(function () {
                                area.init('area');
                                area.selected('贵州', '遵义', '习水县');
                            })
                        </script>
                        <select name="province" id="area1"></select>
                        <select name="city" id="area2"></select>
                        <select name="county" id="area3"></select>

                        <!--*******************城市联动**************************-->

                        <textarea name="particular" placeholder="路名或街道地址，门牌号 " id="particular" rows="" cols=""></textarea>
                    </div>

                    <div class="postcode">
                        <h3 class="style"><b>&nbsp;</b>邮政编码</h3>
                        <input type="text" class="public" name="postcode" id="postcode" placeholder="6位邮政编码" value="" />
                    </div>
                    <div class="shouji">
                        <h3 class="style"><b>*</b>手机号码 </h3>
                        <input type="text" class="public" name="phone" id="shouji" placeholder="11位手机号码" value="" />
                    </div>
                    <input type="hidden" name="aid" id="bianjihidden" value="">
                    <div class="btn-group">
                        <input type="submit"  class="btn" id="btn-bao" value="保存"/>
                        <a href="javascript:;" class="btn-qu btn">取消</a>
                    </div>

                </form>
            </div>
        </div>
        <!--地址选择结束-->
        <!--*********************编辑页面省市县的获取***************************-->
        <script>
            $(function () {
                //选中效果
                $('.copyreader').click(function(){
                    var city_w=$(this).parents('.consignee-item').find('.city .city_w').html();
                    var county_w=$(this).parents('.consignee-item').find('.city .county_w').html();
                    var province_w = $(this).parents('.consignee-item').find('.city .province_w').html();
                    area.selected(province_w,city_w,county_w);
                    var aid=$(this).parents('.consignee-item').find('#hidden').val();

                    $('#bianjihidden').val(aid)




                })
            });
    $('.new-address').click(function () {
         $('#bianjihidden').val('');
    })



        </script>

        <!--选项开始-->
        <div class="options">
            <div class="options-all">
                <div class="payment options-public">
                    <h3>支付方式</h3>
                </div>
                <div class="consignee-item new-ress">
                    <span class="radio-img pitchOn"></span>
                    <label for="payment" class="radio w122"><input type="radio" name="payment" id="payment" class="radio-select"  value=""/>在线支付</label>
                </div>
            </div>
            <div class="options-all">
                <div class="distribution options-public">
                    <h3>配送方式</h3>
                </div>
                <div class="consignee-item new-ress">
                    <span class="radio-img pitchOn"></span>
                    <label for="distribution" class="radio w122"><input type="radio" name="distribution" id="distribution" class="radio-select"  value=""/>免费配送</label>
                </div>
            </div>
            <div class="options-all invoice">
                <div class=" options-public">
                    <h3>发票信息</h3>
                </div>
                <div class="box-all" style="overflow: hidden;">
                    <div class="consignee-item new-ress left">
                        <span class="radio-img pitchOn"></span>
                        <label for="invoice" class="radio w122 no"><input type="radio" name="invoice" id="invoice" class="radio-select "  value=""/>不开发票</label>
                    </div>
                    <div class="consignee-item new-ress left">
                        <span class="radio-img "></span>
                        <label for="invoice1" class="radio w122 yes"><input type="radio" name="invoice" id="invoice1" class="radio-select "  value=""/>普通发票</label>

                    </div>
                </div>
                <div class="con">
                    <div class="text">发票内容：购买商品明细</div>
                    <div class="text">发票抬头：请确认单位名称正确，以免因名称错误耽搁您的报销。</div>
                    <div class="box-all" style="overflow: hidden; margin-top: 10px;">
                        <a href="javascript:;" class="geren tongyong active">个人</a>
                        <a href="javascript:;" class="danwei tongyong">单位</a>
                    </div>
                    <div class="danweiname" >
                        <div class="text">单位名称：</div>
                        <input type="text" name="danweiname" id="danweiname" value="" />
                    </div>
                </div>
            </div>

        </div>
        <!--选项结束-->
        <div class="options-all  goods">
            <div class="qingdan options-public" style="border: none;">
                <h3>商品清单</h3>
            </div>
            <div class="goodsList">
                <div class="title">
                    <ul>
                        <li class="l1">商品名称</li>
                        <li class="l2">单价</li>
                        <li class="l3">数量</li>
                        <li class="l4">合计</li>
                    </ul>
                </div>
            </div>

            <div class="goods-cont">
                <?php if(isset($jiesData)): if(is_array($jiesData)): foreach($jiesData as $k=>$v): ?><ul>
                    <li style="padding: 13px;">
                        <div class="gc1">
                            <img src="/laoshiketang/shop-360/<?php echo ($v['options']['img']); ?>"/>
                            <span><?php echo ($v['name']); ?></span>
                        </div>
                        <div class="gc2">
                            ¥
                            <span><?php echo ($v['price']); ?></span>
                        </div>
                        <div class="gc3">
                            X
                            <span><?php echo ($v['num']); ?></span>
                        </div>
                        <div class="gc4">
                            ¥
                            <span><?php echo ($v['total']); ?></span>
                        </div>

                    </li>

                </ul><?php endforeach; endif; endif; ?>
            </div>

            <script>
                $(function () {
                    var num=0;
                    var total=0;
                    $.each($('.gc3 span'),function (red) {
                        num+=parseInt($(this).html())

                    });
                    $.each($('.gc4 span'),function () {
                        total+=parseInt($(this).html())
                    });

                    $('.zongji span.num').html(num)
                    $('.zongji .yingfu').html(total)
                    $('.zongji h3 span.zj').html(total)

                })
            </script>
            <!--总计-->
            <div class="zongji">
                <ul>
                    <li>
                        共<span class="color num">2</span>件
                    </li>
                    <li class="yingfu">
                        金额合计：<span>1416.00</span>元
                    </li>
                    <li>
                        优惠抵扣：<span>-0.00</span>元
                    </li>
                    <li>
                        配送费：<span>0</span>元
                    </li>
                    <li style="margin-top: 15px;">
                        <h3>应付总金额：<span class="color zj">1416.00</span>元</h3>
                    </li>
                </ul>
            </div>

            <!--确认地址-->
            <div class="mailTo">
                <p>寄送至：
                    <span class="m-city">
                        <span class="w-province"></span>
                        <span class="w-city"></span>
                        <span class="w-county"></span>
                    </span>
                    <span class="m-particular"></span></p>
                <p><span class="m-name"></span> (收件人) <span class="m-number"></span> </p>
            </div>
            <div class="" style="overflow: hidden;">
                <a href="javascript:;" class="liji">立即下单</a>
            </div>


            <script>
                $(function () {
                    $('.liji').click(function () {
                      var province_mr= $('.w-province').html();
                      var city_mr= $('.w-city').html();
                      var county_w=$('.w-county').html();
                      var num=$('.num').html();
                      var particular_mr= $('.m-particular').html();
                      var name_mr= $('.m-name').html();
                      //电话号码
                      var phone_mr=$('.m-number').html();
                      //组合地址
                      var address= province_mr+city_mr+county_w+particular_mr;
                      //总的价格
                      var total=parseInt($('.zj').html());
            $.post("<?php echo u('ajaxorder',['gid'=>$_GET['gid']]);?>",{address:address,total:total,mobile:phone_mr,consignee:name_mr,quantity:num},function (r) {
                if(r.valid){
                    alert(r.msg);
                }
                location.href="<?php echo u('home/Pay/index');?>"+'?oid='+r.oid;

            },'json')


                    })
                })

            </script>

        </div>


    </div>
</div>




    <!--头部结束-->
    <!--中间开始-->

    <!--中间结束-->
    <!--到这里结束-->
    <!--尾部开始-->
    <div class="mod-footer">
        <div class="foot-bannerw">
            <div class="foot-banner clearfix">
                <div class="banner-item">
                    <a href="#" target="_blank" data-monitor="home_foot_days7"><i class="icon1">7</i>7天无理由退货</a>
                </div>
                <div class="banner-item">
                    <a href="#" target="_blank" data-monitor="home_foot_days15"><i class="icon2">15</i>15天免费换货</a>
                </div>
                <div class="banner-item"><i class="icon3">包</i>满99元包邮</div>
                <div class="banner-item">
                    <a href="#" target="_blank" data-monitor="home_foot_moblie"><i class="icon4">服</i>手机特色服务</a>
                </div>
            </div>
        </div>

        <div class="footer-copyright">360商场@ 版权为wzq所有 京ICP备000001号-01</div>
    </div>
    <!--尾部结束-->

    <!--右边底部返回顶部-->
    <div class="slidebar" id="slidebar">
        <ul>
            <li class="topback">
                <a href="javascript:;"></a>
            </li>
        </ul>
    </div>
    <!--右边底部返回顶部结束-->
    <!--左侧楼层开始-->
    <div class="floor">
        <ul>
            <li class="on1">
                <a href="javascript:;"><span>1F<br />活动</span></a>
            </li>
            <li class="on2">
                <a href="javascript:;"><span>2F<br />活动</span></a>
            </li>
            <li class="on3">
                <a href="javascript:;"><span>3F<br />活动</span></a>
            </li>
            <li class="on4">
                <a href="javascript:;"><span>4F<br />活动</span></a>
            </li>
            <li class="on5">
                <a href="javascript:;"><span>5F<br />活动</span></a>
            </li>
            <li class="on6">
                <a href="javascript:;"><span>6F<br />活动</span></a>
            </li>
        </ul>

    </div>

    <!--左侧楼层结束-->
</body>

</html>